All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.core.AssertionHandler

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.core.AssertionHandler

public class AssertionHandler
extends NativeObject
This class wraps the Objective-C class NSAssertionHandler.


Constructor Index

 o AssertionHandler()
This default constructor is equivalent to Objective-C's [[NSAssertionHandler alloc] init].
 o AssertionHandler(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.

Method Index

 o currentHandler()
A wrapper for the + currentHandler Objective-C class method.
 o handleFailureInFunction(String, String, int, String)
A wrapper for the - handleFailureInFunction:file:lineNumber:description: Objective-C instance method.
 o handleFailureInMethod(Selector, Object, String, int, String)
A wrapper for the - handleFailureInMethod:object:file:lineNumber:description: Objective-C instance method.

Constructors

 o AssertionHandler
 protected AssertionHandler(boolean shouldAllocate,
                            int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o AssertionHandler
 public AssertionHandler()
This default constructor is equivalent to Objective-C's [[NSAssertionHandler alloc] init].

Methods

 o currentHandler
 public static native AssertionHandler currentHandler()
A wrapper for the + currentHandler Objective-C class method.

 o handleFailureInMethod
 public native void handleFailureInMethod(Selector selector,
                                          Object object,
                                          String fileName,
                                          int line,
                                          String format)
A wrapper for the - handleFailureInMethod:object:file:lineNumber:description: Objective-C instance method.

 o handleFailureInFunction
 public native void handleFailureInFunction(String functionName,
                                            String fileName,
                                            int line,
                                            String format)
A wrapper for the - handleFailureInFunction:file:lineNumber:description: Objective-C instance method.


All Packages  Class Hierarchy  This Package  Previous  Next  Index